<%@ page language="java" contentType="text/html; 
         charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> 
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title>Bem-vindo ao E-Learning</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css" />
	</head>
	
	<body>
		<div class="container">
			<div class="row">
				<div class="col-md-4">
					<div class="page-header">
						<h1>E-learning</h1>
						<h3>Login</h3>
					</div>
				</div>
				<div class="col-md-4">
					<form:form method="POST" action="dologin" id="formLogin" 
					           modelAttribute="user" class="form-horizontal loginbox">
						<div class="control-group">
							<form:label path="email" class="control-label" for="inputEmail">E-mail</form:label>
							<div class="controls">
								<form:input path="email" type="email" id="email" placeholder="E-mail" />
							</div>
						</div>
						<div class="control-group">
							<form:label path="password" class="control-label" for="inputPassword">Senha</form:label>
							<div class="controls">
								<form:input path="password" type="password" id="password" placeholder="Senha" />
							</div>
						</div>
						<div class="control-group">
							<div class="controls">
								<label class="checkbox"> <input type="checkbox">
									Mantenha-me conectado
								</label>
								<form:button type="submit" class="btn btn-success">Login</form:button>
							</div>
						</div>
					</form:form>
				</div>
				<div class="col-md-4"></div>
			</div>
		</div>
	</body>
</html>